package com.lovo.psc.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDate;

@Setter
@Getter
@NoArgsConstructor
@TableName("psc_tenders")
@ApiModel(value = "招标书实体类",description = "招标书实体类")
public class TendersBean {
    @TableId(value = "pk_tendersId",type = IdType.AUTO)
    @ApiModelProperty(value = "招标书主键")
    private int tendersId;
    @TableField("t_status")
    @ApiModelProperty(value = "招标状态")
    private int status=0;//0为未招标、1为已招标、2为已完成
    @TableField("t_tenderDate")
    @ApiModelProperty(value = "招标时间")
    private LocalDate tenderDate;
    @TableField("t_idNum")
    @ApiModelProperty(value = "招标书编号")
    private String idNum;
    @TableField("t_content")
    @ApiModelProperty(value = "招标内容")
    private String content;

}
